* bidi.c (bidi_mirror_char): Put eassert before conversion to int.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 28 May 2012 07:13:45 +0000 (00:13 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 28 May 2012 07:13:45 +0000 (00:13 -0700)
commit47afe191de3388f37045644410c79158da8b80af
treecbaabcfe987e97ddf3de239764853cc100e07615
parentce8fcd63d86c269ab640900df74d5fc13f007b86
* bidi.c (bidi_mirror_char): Put eassert before conversion to int.

This avoids undefined behavior that might cause the eassert
to not catch an out-of-range value.
src/ChangeLog
src/bidi.c